import java.io.Serializable;

/**
 * @author fsyj
 */
public class IndexedData implements Serializable {


    private static final long serialVersionUID = -8201183424541755423L;
    private long index;

    private byte[] data;

    public IndexedData(long index, byte[] data) {
        this.index = index;
        this.data = data;
    }

    public long getIndex() {
        return index;
    }


    public byte[] getData() {
        return data;
    }
}
